import defaultSettings from '@/settings'
import { getLoginTypeName } from '@/utils/common'

export default function getPageTitle(pageTitle) {
  const title = getLoginTypeName() || defaultSettings.title
  console.log('获取标题', title, pageTitle)
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
